package cn.zh.order.service;

import cn.zh.order.domain.vo.OrderVo;
import org.springframework.transaction.TransactionException;

/**
 * @author zh
 */
public interface OrderService {

    /**
     * 保存订单
     * @param orderVo 订单数据
     * @param hasException 是否存在异常
     * @throws TransactionException
     */
    void saveOrder(OrderVo orderVo, Boolean hasException) throws TransactionException;
}